﻿@{
    ViewBag.Title = "EditDoc";
}

<script language="javascript" src="/Scripts/RouteList.js"> </script>
<link href="/Content/RouteList.css" rel="stylesheet" />
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet" />
<div class="row-fluid">
    <h3>Создать документ</h3>
    <form method="post" class="filter">
        <input type="text" class="hidden" value="@ViewBag.orderNum" name="orderNum" />
        <input type="text" value="@ViewBag.searchString" name="searchString" />
        <input type="submit" value="Найти" class="btn btn-info"/>
    </form>
   
                    
                    Тип документа
               
            <ul class="nav nav-pills nav-stacked">
                @foreach (dynamic q in Model)
                {
                    string v = q.RouteName;
                    <li>
                        @Html.ActionLink(v, "NewDoc", "Document", new {Type = q.RouteId}, null)
                    </li>
                }
            </ul>
        
</div>